package com.wj.facedetect.bean.im;

import java.util.List;

/**
 * Created by wujing on 2018/5/10.
 */

public class GetGroupsBean {


    /**
     * data : {"list":[{"id":99,"name":"test000","ownUserId":1,"createTime":1531121029000}],"totalRow":1,"totalPage":1}
     * errorCode : null
     * errorMessage : null
     * errorSource : null
     * success : true
     */

    private DataBean data;
    private Object errorCode;
    private Object errorMessage;
    private Object errorSource;
    private boolean success;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public Object getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Object errorCode) {
        this.errorCode = errorCode;
    }

    public Object getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(Object errorMessage) {
        this.errorMessage = errorMessage;
    }

    public Object getErrorSource() {
        return errorSource;
    }

    public void setErrorSource(Object errorSource) {
        this.errorSource = errorSource;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * list : [{"id":99,"name":"test000","ownUserId":1,"createTime":1531121029000}]
         * totalRow : 1
         * totalPage : 1
         */

        private int totalRow;
        private int totalPage;
        private List<ListBean> list;

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 99
             * name : test000
             * ownUserId : 1
             * createTime : 1531121029000
             */

            private int id;
            private String name;
            private int ownUserId;
            private long createTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getOwnUserId() {
                return ownUserId;
            }

            public void setOwnUserId(int ownUserId) {
                this.ownUserId = ownUserId;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }
        }
    }
}
